<template>
	<div>
		儿子 {{title}} - {{lifeMsg}} - {{num * 20}}
	</div>
</template>
<script>
	export default {
		name: 'son',
		data() {
			return {

			}
		},
		props: {
			//多种类型
			title : [String,Number],
			lifeMsg : {
				type: String,
				required:true
			},
			num : {
				type:Number,
				default:5
			}
		}
	}
</script>
<!-- 样式在本组件有效 -->
<style scoped>
	
</style>